package com.mianshi.java01.entity;

// 苹果类
public class Apple extends Fruit {
    public Apple() {
        super("苹果", 8.0);
    }

    @Override
    public double getDiscountedPrice() {
        return getOriginalPrice();
    }
}
